|
6dofimu24 2.2.2
|
6DOF IMU 24 Click example More...
Macros | |
| #define | MIKROBUS_POSITION_6DOFIMU24 MIKROBUS_1 |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
6DOF IMU 24 Click example
This example demonstrates the use of 6DOF IMU 24 Click board by reading and displaying the accelerometer and gyroscope data (X, Y, and Z axis) as well as a temperature measurement in degrees Celsius.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration.
Waits for a data ready indication and then reads the accelerometer, gyroscope, and temperature measurements. The results are displayed on the USB UART every 80ms as per the accel and gyro output data rate which is set to 12.5 Hz.
| #define MIKROBUS_POSITION_6DOFIMU24 MIKROBUS_1 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |